﻿using System.Net;

#if NETFX_CORE
using TcpClient = Windows.Networking.Sockets.StreamSocket;
using EndPoint = Windows.Networking.HostName;
#else
using System.Net.Sockets;
#endif

namespace XcoAppSpaces.Transport.Sockets.Auth.Contract
{
    public delegate void TcpClientHandler(TcpClient client);

    public delegate void ValidChallengeConnectionHandler(ConnectionWithChallenge connection);

    public delegate void ValidConnectionHandler(ConnectionInfo connectionInfo);

    public delegate void EndPointHandler(EndPoint endPoint);
}
